package com.ellecity06.cwhiskymall.ui.mine.test

import android.os.Bundle
import com.ellecity06.common.base.BaseMvvmActivity
import com.ellecity06.common.base.BaseViewModel
import com.ellecity06.cwhiskymall.databinding.ActivityTestBinding
import com.ellecity06.cwhiskymall.helper.PayHelper

/**
 * @author ellecity06
 * @time 2025/2/11 11:37
 * @des
 */
class TestActivity : BaseMvvmActivity<ActivityTestBinding, BaseViewModel>() {
    override fun inflateBinding(): ActivityTestBinding {
        return ActivityTestBinding.inflate(layoutInflater)
    }

    override fun initialize(savedInstanceState: Bundle?) {
        title = "测试云闪付支付"

        binding.btn.setOnClickListener {
            PayHelper.uniPay(this, binding.etId.text.toString().trim())
        }
    }
}